package cn.lili.modules.member.mapper;

import cn.lili.modules.system.entity.dos.LiVip;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author asus
* @description 针对表【li_vip(会员列表)】的数据库操作Mapper
* @createDate 2023-11-07 13:52:33
* @Entity generator.domain.Vip
*/
@Mapper
public interface VipMapper extends BaseMapper<LiVip> {
    @Select("select user_id,user_name,vip_id,vip_name,vip_status,phone,end_time,opening_mode,active_code from li_vip where user_id= #{userId}")
    LiVip selectByUserId(String userId);

}




